package com.gxa.common.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.gxa.entity.SysDrugInventory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;

/**
 * 这里是前台显示的诊断信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("诊断单")
@JsonIgnoreProperties(value = { "handler" })
public class FindDiagnosis {

    @ApiModelProperty(name = "id",notes = "诊断Id",dataType = "Integer",required = true)
    private Integer id;
    @ApiModelProperty(name = "userId",notes = "用户Id",dataType = "Integer",required = true)
    private Integer userId;
    @ApiModelProperty(name = "depId",notes = "部门Id",dataType = "Integer",required = true)
    private Integer depId;
    @ApiModelProperty(name = "patientId",notes = "患者Id",dataType = "Integer",required = true)
    private Integer patientId;
    @ApiModelProperty(name = "patient",notes = "患者",dataType = "String",required = false)
    private String patient;
    @ApiModelProperty(name = "clinicNumber",notes = "门诊编号",dataType = "String",required = false)
    private String clinicNumber;
    @ApiModelProperty(name = "type",notes = "类型(0门诊/1住院)",dataType = "byte",required = false)
    private byte type;
    @ApiModelProperty(name = "title",notes = "标题",dataType = "String",required = false)
    private String title;
    @ApiModelProperty(name = "depName",notes = "会诊科室",dataType = "String",required = true)
    private String depName;
    @ApiModelProperty(name = "bedNumber",notes = "住院床号",dataType = "String",required = false)
    private String bedNumber;
    @ApiModelProperty(name = "username",notes = "用户登录用名称（长度6-20）",dataType = "String",required = true)
    private String username;
    @ApiModelProperty(name = "amount",notes = "金额",dataType = "BigDecimal",required = false)
    private BigDecimal amount;
    @ApiModelProperty(name = "registrationFees",notes = "挂号费",dataType = "BigDecimal",required = false)
    private BigDecimal registrationFees;
    @ApiModelProperty(name = "additionalFees",notes = "附加费",dataType = "BigDecimal",required = false)
    private BigDecimal additionalFees;
    @ApiModelProperty(name = "status",notes = "状态（1：新开单，2：进行中，3.已完成，4：已暂停，5：已取消）",dataType = "byte",required = true)
    private byte status;
    @ApiModelProperty(name = "isPaid",notes = "是否付款(0:未付款，1：已付款)",dataType = "byte",required = false)
    private byte isPaid;
    @ApiModelProperty(name = "details",notes = "诊断详情",dataType = "details",required = false)
    private String details;
    @ApiModelProperty(name = "diagnosisText",notes = "诊断内容",dataType = "String",required = false)
    private String diagnosisText;
    @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required = false)
    private String createTime;
    @ApiModelProperty(name = "drugCount",notes = "药品数量",dataType = "Integer",required = false)
    private Integer drugCount=0;
    @ApiModelProperty(name = "drugInventoryList",notes = "药品出库（你需要判断这个的长度）",dataType = "List",required = false)
    private List<SysDrugInventory> drugInventoryList;
    @ApiModelProperty(name = "idDeleted",notes = "是否删除",dataType = "Byte",required = false)
    private Byte isDeleted;



}
